package cn.bytets.rpc.api.close;

import java.util.List;

public class RpcCloseHook extends Thread{

    @Override
    public void run() {
        List<Closes> list = RpcCloseHookRegister.getInstance().getList();
        for (Closes close:list){
            close.close();
        }
    }
}
